package com.study.talk.app.login;

import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

import androidx.appcompat.app.AppCompatActivity;

import com.study.talk.R;
import com.study.talk.app.App;
import com.study.talk.app.home.HomeActivity;
import com.study.talk.app.register.RegisterUser;
import com.study.talk.databinding.ActivityLoginBinding;
import com.study.talk.netty.NettyClient;
import com.study.talk.netty.message.request.LoginRequest;
import com.study.talk.netty.message.response.LoginResponse;
import com.study.talk.util.AppExecutor;
import com.study.talk.util.DateUtil;
import com.study.talk.util.EventBusUtil;
import com.study.talk.util.ToastUtil;
import com.study.talk.util.alert.AlertUtil;

import org.greenrobot.eventbus.Subscribe;
import org.greenrobot.eventbus.ThreadMode;

public class LoginActivity extends AppCompatActivity {

    private static final String TAG = "LoginActivity";


    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ActivityLoginBinding activityLoginBinding = ActivityLoginBinding.inflate(getLayoutInflater());
        setContentView(activityLoginBinding.getRoot());
    }



    @Override
    protected void onDestroy() {
        EventBusUtil.unregisterEvent(this);
        super.onDestroy();
    }


}